package exception;

public class Exception {
    public static void main(String[] args) {
        int[] arr = {1, 2};
        try {
            System.out.println(arr[3]);
        } catch (ArrayIndexOutOfBoundsException e) {
            System.out.println("索引越界了!!!");
        }
        System.out.println("看看我有没有执行");
    }
}